<template>
    <p>{{myname}}</p>
</template>
<script>
export default{
    data(){
        return {
            myname:'baidu'
        }
    }
}
</script>

<style lang="less">
    p{
        color: red;
    }
</style>